package com.ruoyi.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 货物信息对象 wms_cargo
 * 
 * @author ruoyi
 * @date 2023-12-24
 */
public class WmsCargo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 编码 */
    @Excel(name = "编码")
    private String cargoSn;

    /** 名称 */
    @Excel(name = "名称")
    private String cargoName;

    /** 重量 */
    @Excel(name = "重量")
    private BigDecimal cargoWeight;

    /** 体积 */
    @Excel(name = "体积")
    private BigDecimal cargoVolume;

    /** 单位 */
    @Excel(name = "单位")
    private String cargoUnit;

    /** 规格 */
    @Excel(name = "规格")
    private String cargoSpec;

    /** 尺码 */
    @Excel(name = "尺码")
    private String cargoSize;

    /** 最低库存 */
    @Excel(name = "最低库存")
    private Long minStock;

    /** 最高库存 */
    @Excel(name = "最高库存")
    private Long maxStock;

    /** 提前预警天数 */
    @Excel(name = "提前预警天数")
    private Long earlyWarningDays;

    /** 状态:0启用 1禁用 */
    @Excel(name = "状态:0启用 1禁用")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCargoSn(String cargoSn) 
    {
        this.cargoSn = cargoSn;
    }

    public String getCargoSn() 
    {
        return cargoSn;
    }
    public void setCargoName(String cargoName) 
    {
        this.cargoName = cargoName;
    }

    public String getCargoName() 
    {
        return cargoName;
    }
    public void setCargoWeight(BigDecimal cargoWeight) 
    {
        this.cargoWeight = cargoWeight;
    }

    public BigDecimal getCargoWeight() 
    {
        return cargoWeight;
    }
    public void setCargoVolume(BigDecimal cargoVolume) 
    {
        this.cargoVolume = cargoVolume;
    }

    public BigDecimal getCargoVolume() 
    {
        return cargoVolume;
    }
    public void setCargoUnit(String cargoUnit) 
    {
        this.cargoUnit = cargoUnit;
    }

    public String getCargoUnit() 
    {
        return cargoUnit;
    }
    public void setCargoSpec(String cargoSpec) 
    {
        this.cargoSpec = cargoSpec;
    }

    public String getCargoSpec() 
    {
        return cargoSpec;
    }
    public void setCargoSize(String cargoSize) 
    {
        this.cargoSize = cargoSize;
    }

    public String getCargoSize() 
    {
        return cargoSize;
    }
    public void setMinStock(Long minStock) 
    {
        this.minStock = minStock;
    }

    public Long getMinStock() 
    {
        return minStock;
    }
    public void setMaxStock(Long maxStock) 
    {
        this.maxStock = maxStock;
    }

    public Long getMaxStock() 
    {
        return maxStock;
    }
    public void setEarlyWarningDays(Long earlyWarningDays) 
    {
        this.earlyWarningDays = earlyWarningDays;
    }

    public Long getEarlyWarningDays() 
    {
        return earlyWarningDays;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cargoSn", getCargoSn())
            .append("cargoName", getCargoName())
            .append("cargoWeight", getCargoWeight())
            .append("cargoVolume", getCargoVolume())
            .append("cargoUnit", getCargoUnit())
            .append("cargoSpec", getCargoSpec())
            .append("cargoSize", getCargoSize())
            .append("minStock", getMinStock())
            .append("maxStock", getMaxStock())
            .append("earlyWarningDays", getEarlyWarningDays())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
